package com.example.system.domain.announcement;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@TableName("tb_announcement")
public class Announcement extends BaseEntity {
    @TableId(type = IdType.ASSIGN_ID)
    private Long announcementId;
    private String title;
    private String content; // 最好时html
    
    /**
     * 公告状态：0-待发布 1-已发布 2-已下架
     */
    private Integer status;
}
